/*
 * @Descripttion: 
 * @Author: Zhai Penghui
 * @Date: 2021-11-03 14:50:47
 */
module.exports = {
  presets: ["@vue/cli-plugin-babel/preset"],
  plugins: [
    //原文链接：https://blog.csdn.net/weixin_59795589/article/details/118681899
    // [
    //   "import",
    //   {
    //     libraryName: "element-plus",
    //     customStyleName: (name) =>
    //       `element-plus/packages/theme-chalk/src/${name.slice(3)}.scss`,
    //   },
    // ],
    [
      "import",
      { libraryName: "ant-design-vue", libraryDirectory: "es", style: "css" },
    ], // `style: true` 会加载 less 文件
  ],
};
